package com.shiwaixiangcun.customer.module.houserenting

import com.google.gson.annotations.SerializedName

/**
 * Author   Administrator
 * Date     2018/1/25
 * Desc     eg
 */

data class CommonDataEntity<out T>(
        @SerializedName("data") val data: T,
        @SerializedName("message") val message: String, //操作成功
        @SerializedName("responseCode") val responseCode: Int, //1001
        @SerializedName("success") val success: Boolean //true
)

data class CommonListEntity<out T>(
        @SerializedName("data") val data: List<T>,
        @SerializedName("message") val message: String, //操作成功
        @SerializedName("responseCode") val responseCode: Int, //1001
        @SerializedName("success") val success: Boolean //true
)
